home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: SOM & Streams
- Sent: 6/28/96 2:22 PM
- Received: 6/28/96 2:32 PM
- From: Mark Lanett, mlanett@meer.net
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- You only need acquisition objects for refcounted SOM objects. FW_OSink
- isn't refcounted, so you can just use it (you don't need to call Release or
- anything).
-
- SOM is transparent to call into; it just happens that many of OpenDoc's SOM
- objects are refcounted. Refcounted objects must be referred to using
- acquisition objects in order to be exception-safe, irregardless of whether
- they have a C++ or SOM interface.
-
- At 1:59 PM 6/28/96, Scott Daniels wrote:
- >I am afraid to even touch SOM objects since I was under the impression
- >that you had to get Acquisition objects for them, etc. I am also puzzled
- >by the fact that there can only be one wrapper class for the OSink, so
- >after creating it, we can only deal with the OSink? Why have a wrapper
- >class at all? This all probably sounds pretty stupid for the SOM savvy,
- >but to non-SOM-literate like me I am confused, especially since SOM was
- >advertised as being transparent to C++ as far as using it, but it appears
- >to be really nasty. Can anyone enlighten me?
-
-
- --
- Mark Lanett, OpenDoc Framework, Apple Computer
-
-